home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Zone 96
/
PC Zone #096.7z
/
Dppcz1200.mdf
/
Demos
/
Gunlok
/
data1.cab
/
Program_Executable_Files
/
scripts
/
fishy.gsh
< prev
next >
Wrap
Text File
|
2000-09-09
|
1KB
|
55 lines
// defines fishy
////////////////////////////////////////////////////////////////////////////////////
// start wrapper - prevent multiple inclusions or recursive inclusions
//(this currently causes 'unrecognized preprocessor directive' warnings, until implemented)
#ifndef INCLUDED_FISHY_GSH
#define INCLUDED_FISHY_GSH
////////////////////////////////////////////////////////////////////////////////////
#include "defaults.gsh"
#include "lasers.gsh"
hierarchy Hcy_fishy
{
file "units\fishy.RIF"
name "fishy"
hotspot "dum flash"
}
character Chr_fishy : Chr_DefaultBaddie
{
turning speed 0.3 // this is in revolutions per second
walking speed 1.0 // this is in animation cycles per second
weapon enemy laser weak
strength 5 // initial strength points
aim 1 // how many degrees off target he can be at most
sight angle 80 // in degrees
sight range 8 // in metres
hearing range 20 // in metres
aggression 0.9 // from 0 to 1
gun yaw angle 0 // in degrees
description drone description
}
role Rol_fishy : Rol_DefaultRobot
{
shape Hcy_fishy
character Chr_fishy
identifier "fishy"
ai bot
}
////////////////////////////////////////////////////////////////////////////////////
// end wrapper - for preventing multiple or recursive inclusions
#endif // !INCLUDED_FISHY_GSH